cc sd - 0 00 05 56 9 , v er si on 1 - 2 7 Ju n 20 05 Edit distance between unlabeled ordered trees
نویسندگان
چکیده
There exists a bijection between one stack sortable permutations –permutations which avoid the pattern 231– and planar trees. We define an edit distance between permutations which is coherent with the standard edit distance between trees. This one-to-one correspondence yields a polynomial algorithm for the subpermutation problem for (231) avoiding permutations. Moreover, we obtain the generating function of the edit distance between ordered trees and some special ones. For the general case we show that the mean edit distance between a planar tree and all other planar trees is at least n/ln(n). Some results can be extended to labeled trees considering colored Dyck paths or equivalently colored one stack sortable permutations.
منابع مشابه
O ] 2 7 Ju n 20 05 Edit distance between unlabeled ordered trees
There exists a bijection between one stack sortable permutations –permutations which avoid the pattern 231– and planar trees. We define an edit distance between permutations which is coherent with the standard edit distance between trees. This one-to-one correspondence yields a polynomial algorithm for the subpermutation problem for (231) avoiding permutations. Moreover, we obtain the generatin...
متن کاملcc sd - 0 00 83 03 4 , v er si on 1 - 2 9 Ju n 20 06 On symmetric sandpiles ∗
A symmetric version of the well-known SPM model for sandpiles is introduced. We prove that the new model has fixed point dynamics. Although there might be several fixed points, a precise description of the fixed points is given. Moreover, we provide a simple closed formula for counting the number of fixed points originated by initial conditions made of a single column of grains.
متن کاملA multiple layer model to compare RNA secondary structures
ion β1 maps helices, internal loops and bulges to the stems of layer 1, while multi-loops and hairpin-loops are mapped to their corresponding loops in layer 1. Finally, abstraction β0 associates the multi-loops and connected stem-hairpin-loops of layer 1 to the multi-loops of layer 0, while the stems between two multi-loops in layer 1 are mapped to a same stem of layer 0. 3.2. RNA-MiGaL compari...
متن کاملPSPARQL Query Containment
Querying the semantic web is mainly done through SPARQL. This language has been studied from different perspectives such as optimization and extension. One of its extensions, PSPARQL (Path SPARQL) provides queries with paths of arbitrary length. We study the static analysis of queries written in this language, in particular, containment of queries: determining whether, for any graph, the answer...
متن کاملcc sd - 0 00 00 57 7 ( v er si on 4 ) : 1 6 Ja n 20 04 Three - dimensional bubble clusters : shape , packing and growth - rate
We consider three-dimensional clusters of equal-volume bubbles packed around a central bubble and calculate their energy and optimal shape. We obtain the surface area and bubble pressures to improve on existing growth laws for three-dimensional bubble clusters. We discuss the possible number of bubbles that can be packed around a central one: the " kissing problem " , here adapted to deformable...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005